package com.service.quartz.event;


import com.service.quartz.model.TaskModel;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class RemoveJobEvent extends ApplicationEvent {
    private TaskModel taskModel;

    public RemoveJobEvent(Object source, TaskModel taskModel) {
        super(source);
        setTaskModel(taskModel);
    }

}
